@ **************************************************************************
@ * *
@ * Written by flose *
@ * *
@ * A example to use CMP
@ * *
@ **************************************************************************
.text
.global _start
_start:

	MOV R1, #9
	MOV R2, #15
START:
	CMP R1, R2
	BLEQ STOP
	SUBGT R1, R1, R2
	BLGT START
	SUBLT R2, R2, R1
	BLLT START
STOP:
	B STOP

.end
